package cn.tworice.minio.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class MinioPropertiesConfig {
    @Value("${minio.endpoint:http://127.0.0.1:9000}")
    private String endpoint;
    @Value("${minio.accessKey:minio}")
    private String accessKey;
    @Value("${minio.secretKey:minioadmin}")
    private String secretKey;
    @Value("${minio.bucketName:tworice}")
    private String bucketName;
}
